<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>tq htmleditor demo</title>
<script src="../TQEditor.js" type="text/javascript"></script>
</head>

<body>
<!--#include file="_nav.htm" -->
<script src="demo.js" type="text/javascript"></script>
自定编辑器默认的背景色与文字色
<textarea id="e1" rows="12" cols="100" >{bgColor:'black', textColor:'white'}</textarea>
<textarea id="e2" rows="12" cols="100" >{bgColor:'#0057AE', textColor:'#E1FDE8'}</textarea>

<script type="text/javascript" defer="true"> 
 new tqEditor('e1',{bgColor:'black', textColor:'white'}); 
 new tqEditor('e2',{bgColor:'#0057AE', textColor:'#E1FDE8'}); 
</script>
</body>
</html>